package com.zhu.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhu.common.utils.PageUtils;
import com.zhu.mall.product.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 * Ʒ�Ʒ������
 *
 * @author xiaozhu
 * @email 357345226@qq.com
 * @date 2020-07-22 16:56:02
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetil(CategoryBrandRelationEntity categoryBrandRelation);

    //根据某个品牌id，更新分类品牌关联表中的品牌名
    void updateBrand(Long brandId, String name);

    //根据某个分类id，更新分类品牌关联表中的品分类名
    void updateCategory(Long catId, String name);
}

